package com.dime.basic.mapper;

import com.dime.basic.api.domain.DimeBasecontraindication;

import java.util.List;


/**
 * 禁忌症基础Mapper接口
 *
 * @author Tiny
 * @date 2023-10-11
 */
public interface DimeBasecontraindicationMapper
{
    /**
     * 查询禁忌症基础
     *
     * @param id 禁忌症基础主键
     * @return 禁忌症基础
     */
    public DimeBasecontraindication selectDimeBasecontraindicationById(String id);

    /**
     * 查询禁忌症基础列表
     *
     * @param dimeBasecontraindication 禁忌症基础
     * @return 禁忌症基础集合
     */
    public List<DimeBasecontraindication> selectDimeBasecontraindicationList(DimeBasecontraindication dimeBasecontraindication);

    /**
     * 新增禁忌症基础
     *
     * @param dimeBasecontraindication 禁忌症基础
     * @return 结果
     */
    public int insertDimeBasecontraindication(DimeBasecontraindication dimeBasecontraindication);

    /**
     * 修改禁忌症基础
     *
     * @param dimeBasecontraindication 禁忌症基础
     * @return 结果
     */
    public int updateDimeBasecontraindication(DimeBasecontraindication dimeBasecontraindication);

    /**
     * 删除禁忌症基础
     *
     * @param id 禁忌症基础主键
     * @return 结果
     */
    public int deleteDimeBasecontraindicationById(String id);

    /**
     * 批量删除禁忌症基础
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDimeBasecontraindicationByIds(String[] ids);
}
